package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 郎
 */
@Data
public class UmsMemberCollection implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "会员ID")
    private Long memberId;

    @ApiModelProperty(value = "会员昵称")
    private String memberNickname;

    @ApiModelProperty(value = "会员头像")
    private String memberIcon;

    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "产品照片")
    private String productPic;

    @ApiModelProperty(value = "产品子名称")
    private String productSubTitle;

    @ApiModelProperty(value = "产品价格")
    private String productPrice;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return getClass().getSimpleName() +
                " [" +
                "Hash = " + hashCode() +
                ", id=" + id +
                ", memberId=" + memberId +
                ", memberNickname=" + memberNickname +
                ", memberIcon=" + memberIcon +
                ", productId=" + productId +
                ", productName=" + productName +
                ", productPic=" + productPic +
                ", productSubTitle=" + productSubTitle +
                ", productPrice=" + productPrice +
                ", createTime=" + createTime +
                ", serialVersionUID=" + serialVersionUID +
                "]";
    }
}